package com.cimpm.task.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

@TableName("task_task_order")
public class TaskOrder {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

	@TableField(value = "`step_name`")
	private String stepName;

	@TableField(value = "`role_id`")
	private Integer roleId;

	@TableField(value = "`order`")
	private Integer order;

	@TableField(value = "`form_type`")
	private Integer formType;

    @TableLogic
    @TableField(value = "`is_deleted`")
    private Date isDeleted;

    @Version
    @TableField(value = "`version`")
    private Integer version;

    public Integer getId() { return id; }

    public void setId(Integer id) { this.id = id; }

    public String getStepName() { return stepName; }

    public void setStepName(String stepName) { this.stepName = stepName; }

    public Integer getRoleId() { return roleId; }

    public void setRoleId(Integer roleId) { this.roleId = roleId; }

    public Integer getOrder() { return order; }

    public void setOrder(Integer order) { this.order = order; }

    public Integer getFormType() { return formType; }

    public void setFormType(Integer formType) { this.formType = formType; }

    public Date getIsDeleted() { return isDeleted; }

    public void setIsDeleted(Date isDeleted) { this.isDeleted = isDeleted; }

    public Integer getVersion() { return version; }

    public void setVersion(Integer version) { this.version = version; }

    @Override
    public String toString() {
        return "TaskOrder{" + "id=" + id + ", stepName='" + stepName + '\'' + ", roleId=" + roleId + ", order=" + order + ", formType=" + formType + ", isDeleted=" + isDeleted + ", version=" + version + '}';
    }
}
